<script setup>
import { ref } from 'vue'
import { useRouter, useRoute } from 'vue-router'

const route = useRoute()
console.log(route.params);
</script>

<template>
  <h1>User:{{ route.params.id }}</h1>
  <router-view></router-view>
</template>

<style scoped>

</style>
